package com.ccn.crm.mapper;

import com.ccn.crm.model.MiddleTable;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MiddleTableMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MiddleTable record);

    MiddleTable selectByPrimaryKey(Integer id);

    List<MiddleTable> selectAll();

    int updateByPrimaryKey(MiddleTable record);
}